//
//  WKBaseViewController.h
//  WeKeTang
//
//  Created by ichina on 2017/8/22.
//  Copyright © 2017年 Dezhi Tiancheng Education Technology (Beijing) Co. Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WKCustomAlertView.h"

@interface WKBaseViewController : UIViewController

@property (nonatomic, strong) UINavigationItem *navItem;
@property (nonatomic, weak) UINavigationBar *navgationBar;
@property (nonatomic, weak)  UIView *statusbar;

- (void)setLeftButtonWithImage:(NSString*)imageButtonName
              highlightedImage:(NSString*)highlightedImageButtonName
                        target:(id)target action:(SEL)action;

- (void)setRightButtonWithNomalImageName:(NSString*)NomalImageName
                    highlightedImageName:(NSString*)highlightedImageName
                                  target:(id)target action:(SEL)action;
- (void)setRightButtonWithTittle:(NSString*)tittle
                           color:(UIColor *)color
                          target:(id)target
                          action:(SEL)action;

- (void)middleTitleColor:(UIColor*)colcor;

- (void)backAction;

-(void)popToViewControllerWithClass:(Class)aClass;

- (void)outLayoutSelfSubviews;

- (void)showInfo:(NSString*)info;

- (void)showIndicatorWithFlag:(BOOL)flag title:(NSString *)title;

- (void)showCustomAlertMessage:(NSString*)message;

@end
